﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Search.Functions
{
    public class Common
    {
        

        public int CheckPageIndex(int a)
        {
            if (a == 0)
                return 0;
            else
                return (a + 1);
        }
    }
}
